/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.oneCommerce.utils;

import java.util.ArrayList;  
import java.util.List;  
import javax.annotation.PostConstruct;  
import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;
  
@ManagedBean(name="galleriaBean")
@ApplicationScoped
public class GalleriaBean {  
  
    private List<String> images = new ArrayList<String>();  
  
    public List<String> getImages() {  
        for(int i=8;i<=11;i++) {  
            images.add("galleria" + i + ".jpg");  
        }  
        return images;  
    }  
}   
  